import time
import datetime
n_time=datetime.datetime.now().strftime('%A-%H;%M')
print("现在时间是："+n_time)
pythonClassRemind = ('Monday-9:45')
print ("需要提醒的上课时间："+pythonClassRemind)
while True:
     if pythonClassRemind == n_time:
        print('还有半小时上课')
        time.sleep(60)